
#include "CxTransaction.hpp"
#include "CxTcp/CxTcpClient.hpp"
#include "CxTcp/CxSerialPort.hpp"
#include "CxProtocolHandle.h"

using namespace MSG_SIGN;

void		CxProtocolHandle_1::HandlePort(_Serial  & port,_Buffer &buffer)
{
	vector<unsigned char> v;
	port.sync_read(v,100);
	if(v.size()!=0)
	{
		buffer.Push(CxTransaction::create(CID_settime,v));
	}
}


void		CxProtocolHandle_1::HandlePort(_TcpClient  & port,_Buffer &buffer)
{


}
